package cn.edu.zjx.mapper;

import com.management.entity.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {
    List<Department> selectAll();
    
    Department selectById(Integer id);
    
    int insert(Department department);
    
    int update(Department department);
    
    int deleteById(Integer id);
    
    List<Department> search(String keyword);
} 